﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UtilLibrary;
using DAL;

namespace Entity
{
    public class BizWorkflowSequeuece : BaseBizEntity
    {
        private int wfId;

        public int WfId
        {
            get { return wfId; }
            set { wfId = value; }
        }
        private int stepNo;

        public int StepNo
        {
            get { return stepNo; }
            set { stepNo = value; }
        }

        private String stepName = string.Empty;

        public String StepName
        {
            get { return stepName; }
            set { stepName = value; }
        }

        private int empID;

        public int EmpID
        {
            get { return empID; }
            set { empID = value; }
        }

        private String comment = String.Empty; // 指派人对于当前节点的描述

        public String Comment
        {
            get { return comment; }
            set { comment = value; }
        }

        private bool passedFlg;

        public bool PassedFlg
        {
            get { return passedFlg; }
            set { passedFlg = value; }
        }

        public BizWorkflowSequeuece(int pStepID, int pEmpID, String pStepName)
        {
            this.stepNo = pStepID;
            this.stepName = pStepName;
            this.empID = pEmpID;
        }

        public BizWorkflowSequeuece()
        { 
        
        }

        public override void SetEntityType()
        {
            dataEntityType = typeof(DAL.workflowsequeuece);
        }
    }
}
